/*
 * Powered By 
 * Since 2010 - 2016
 */

package com.rf.business.service;

import java.util.List;
import java.util.Map;

import com.rf.sys.utils.PageUtils;
import com.rf.business.model.CardPhoto;

public interface CardPhotoService{
	
	/**
	 * 根据id获取数据
	 * @param cardPhotoId
	 * @return CardPhoto
	 */
	public CardPhoto getCardPhotoByID(String id) throws Exception;
	
	/**
	 * 根据CardPhoto获取数据
	 * @param CardPhoto
	 * @return List<CardPhoto>
	 */
	public List<CardPhoto> getCardPhoto(CardPhoto cardPhoto) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param 
	 * @return List<CardPhoto>
	 */
	public List<CardPhoto> getCardPhoto() throws Exception;
	
	/**
	 * 根据车牌号获取数据
	 * @param carNo
	 * @return List<Map<String, Object>>
	 */
	public List<Map<String, Object>> getCardPhotoByCarNo(String carNo) throws Exception;
	
	/**
	 * 保存信息
	 * @param CardPhoto
	 * @return
	 */
	public void addCardPhoto(CardPhoto cardPhoto) throws Exception;
	
	/**
	 * 修改数据
	 * @param CardPhoto
	 * @return
	 */
	public void updateCardPhoto(CardPhoto cardPhoto) throws Exception;
	
	/**
	 * 删除数据
	 * @param cardPhotoId
	 * @return
	 */
	public void deleteCardPhoto(String id
) throws Exception;
	
	/**
	 * 获取数据分页
	 * @param CardPhoto
	 * @param pageUtils
	 * @return Map
	 */
	public Map getCardPhotoPage(CardPhoto cardPhoto,PageUtils pageUtils) throws Exception;
}
